home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
AIncludes
/
CRMSerialDevices.a
< prev
next >
Wrap
Text File
|
1996-05-01
|
2KB
|
55 lines
;
; File: CRMSerialDevices.a
;
; Contains: Communications Resource Manager Serial Device interfaces.
;
; Version: Technology: System 7.5
; Release: Universal Interfaces 3.0d3 on Copland DR1
;
; Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
;
; Bugs?: If you find a problem with this file, send the file and version
; information (from above) and the problem description to:
;
; Internet: apple.bugs@applelink.apple.com
; AppleLink: APPLE.BUGS
;
;
IF &TYPE('__CRMSERIALDEVICES__') = 'UNDEFINED' THEN
__CRMSERIALDEVICES__ SET 1
IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
include 'Types.a'
ENDIF
; for the crmDeviceType field of the CRMRec data structure
crmSerialDevice EQU 1 ; version of the CRMSerialRecord below
curCRMSerRecVers EQU 1
; Maintains compatibility w/ apps & tools that expect an old style icon
CRMIconRecord RECORD 0
oldIcon ds.l 32 ; offset: $0 (0) ; ICN#
oldMask ds.l 32 ; offset: $80 (128)
theSuite ds.l 1 ; offset: $100 (256) ; Handle to an IconSuite
reserved ds.l 1 ; offset: $104 (260)
sizeof EQU * ; size: $108 (264)
ENDR
; typedef struct CRMIconRecord * CRMIconPtr
; typedef CRMIconPtr * CRMIconHandle
CRMSerialRecord RECORD 0
version ds.w 1 ; offset: $0 (0)
inputDriverName ds.l 1 ; offset: $2 (2)
outputDriverName ds.l 1 ; offset: $6 (6)
name ds.l 1 ; offset: $A (10)
deviceIcon ds.l 1 ; offset: $E (14)
ratedSpeed ds.l 1 ; offset: $12 (18)
maxSpeed ds.l 1 ; offset: $16 (22)
reserved ds.l 1 ; offset: $1A (26)
sizeof EQU * ; size: $1E (30)
ENDR
; typedef struct CRMSerialRecord * CRMSerialPtr
ENDIF ; __CRMSERIALDEVICES__